package net.pws.oos.biz.service.impl;

import net.pws.common.persistence.EntityManager;
import net.pws.oos.biz.model.Checkin;
import net.pws.oos.biz.service.CheckinService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class DefaultCheckinService implements CheckinService {

	@Autowired
	private EntityManager entityManager;

	public Checkin save(Checkin checkin) {
		entityManager.persist(checkin);
		return checkin;
	}

}
